﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Smart.Navigation.Windows.Forms;

namespace NavigationSampleApp
{
    /// <summary>
    /// 
    /// </summary>
    public partial class AppViewBase : ControlViewBase, IApplicationView
    {
        /// <summary>
        /// 
        /// </summary>
        protected IFormControl FormControl { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public AppViewBase()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="control"></param>
        public void SetFormControl(IFormControl control)
        {
            FormControl = control;
        }

        /// <summary>
        /// 
        /// </summary>
        public virtual void OnButtonLeft()
        {
            // please override
        }

        /// <summary>
        /// 
        /// </summary>
        public virtual void OnButtonRight()
        {
            // please override
        }
    }
}
